package com.kedsoft.andaily.entity;

import com.baomidou.mybatisplus.enums.IdType;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author LGP
 * @since 2019-04-10
 */
@TableName("pt_cunsumer")
public class Cunsumer implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    private String name;
    private String mobile;
    private Integer routerid;
    private String routername;
    private Integer status;
    private Integer leader;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public Integer getRouterid() {
        return routerid;
    }

    public void setRouterid(Integer routerid) {
        this.routerid = routerid;
    }

    public String getRoutername() {
        return routername;
    }

    public void setRoutername(String routername) {
        this.routername = routername;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getLeader() {
        return leader;
    }

    public void setLeader(Integer leader) {
        this.leader = leader;
    }

    @Override
    public String toString() {
        return "Cunsumer{" +
        ", id=" + id +
        ", name=" + name +
        ", mobile=" + mobile +
        ", routerid=" + routerid +
        ", routername=" + routername +
        ", status=" + status +
        "}";
    }
}
